top_dir := ../..
ice_cream := $(top_dir)/bin/ice_cream_create
target := $(ice_cream)
OBJS := $(top_dir)/src/unit/ice_log.o      \
        $(top_dir)/src/unit/ice_unit.o     \
		$(top_dir)/src/unit/ice_lock.o     \
		ice_cream_create.o 
SRCS :=	$(OBJS:.o =.c)
CFLAGS := -I$(top_dir)/src/include -I./ $(CFLAGS)
LIB := -lpthread	   
all: $(target)
$(ice_cream): $(OBJS)
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIB)
clean:
	-rm $(target) $(OBJS)